import request from '@/router/axios';

/**
 *
 * 检验单管理接口大全
 */
export const getPage = (current, size, params) => {
    return request({
        url: '/api/mes-product/inspection-document/page',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};


export const getDetail = (id) => {
    return request({
        url: '/api/mes-product/inspection-document/detail',
        method: 'get',
        params: {
            id
        }
    });
};

